﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.RbacData.Domain.Traceabilitys
{
    /// <summary>
    /// 供应商信息
    /// </summary>
    public  class SupplierModel
    {

        /// <summary>
        /// 编号
        /// </summary>
        [Key]
        public int SupplierId { get; set; }

        /// <summary>
        /// 供应类型
        /// </summary>
        public string TypeName { get; set; } = null!;
        /// <summary>
        /// 生产批次
        /// </summary>

        public string Batch {  get; set; } = null!;


        /// <summary>
        /// 溯源编号
        /// </summary>
        public int  ProductId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>

        public DateTime CreaTime { get; set; }= DateTime.Now;

    }
}
